function A(){
    return new MyPromise((resolve, reject) => {
        setTimeout(() => {
            resolve('success A')
        }, 1000)
    })
}
A().finally((res)=>{
    console.log(res,'finally');
})
